var hoverZoomPlugins = hoverZoomPlugins || [];
hoverZoomPlugins.push( {
	name: 'TibiaVenezuela',
	version: '0.1',
	prepareImgLinks: function(callback) {
		var res = [];
		$("a.thumbnail_imagenes").each(function() {
			var link = $(this);
			var caption = $(this).find('span:eq(0)');
			if (link) {
				var src = "http://www.tibiavenezuela.com/images/semanal/id_"+link.attr('href').match(/.*?\/(\d+)$/)[1]+".jpg";
				$(link).data('hoverZoomSrc', [src]);
				$(link).data('hoverZoomCaption', caption.html());
				res.push(link);
			}
		});
		callback($(res));
	}
});
